package org.example.domain.vo.report.account.detail.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.domain.vo.report.account.BaseAccountHead;
import org.example.domain.vo.report.account.detail.table.PaymentTable;

import java.math.BigDecimal;
import java.util.List;


@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(description = "账单付款/收款")
public class Payment extends BaseAccountHead {
    @ApiModelProperty("付款/收款账户")
    private String accountName;
    
    @ApiModelProperty("合计付款/收款")
    private BigDecimal totalPayment;
    
    @ApiModelProperty("优惠金额")
    private BigDecimal discountMoney;
    
    @ApiModelProperty("实际付款/收款")
    private BigDecimal changeAmount;
    
    private List<PaymentTable> tables;
}
